//
// Created by 王乐 on 2022/2/9.
//

#ifndef LESTE_LEPARTICLEBEHAVIOUR_H
#define LESTE_LEPARTICLEBEHAVIOUR_H

#include "LeBehaviour.h"

struct LeParticle;
class LeParticleGameObject;

class LeParticleBehaviour : public LeBehaviour
{
public:
    LeParticleBehaviour();
    virtual ~LeParticleBehaviour();

public:
    void Start() override;
    void Update() override;

public:
    LeParticleGameObject* m_pParticleGameObject;
    LeParticle* m_pParticle;
    float m_CurLife;

    float m_AlphaValue;
    float m_RValue;
};


#endif //LESTE_LEPARTICLEBEHAVIOUR_H
